.bar{
    width: 100%;
    height: 10rem;
    background-color: rgb(245, 243, 243);
    position: fixed;
    bottom: 0;
    font-size: 2rem;
    display: flex;
    justify-content: space-around;
}
.bar a{
    color: #505050;
    display: table-cell;
    vertical-align: bottom;
    line-height: 15rem;
}
.bar a:first-child{
    background: url('../../../assets/icon/首页1.png') no-repeat center;
    background-size: 80%;
    background-position-y: 1.5rem;
}
.bar a:nth-child(2){
    background: url('../../../assets/icon/分类1.png') no-repeat center;
    background-size: 80%;
    background-position-y: 1.5rem;
}
.bar a:nth-child(3){
    position: relative;
    background: url('../../../assets/icon/购物车1.png') no-repeat center;
    background-size: 60%;
    background-position-y: 1rem;
}
.bar a:last-child{
    background: url('../../../assets/icon/我的1.png') no-repeat center;
    background-size: 80%;
    background-position-y: 1rem;
}

.bar_one{
    background: url('../../../assets/icon/首页2.png') no-repeat center !important;
    background-size: 80% !important;
    background-position-y: 1.5rem !important;
}
.bar>.bar_two{
    background: url('../../../assets/icon/分类2.png') no-repeat center !important;
    background-size: 80% !important;
    background-position-y: 1.5rem !important;
}
.bar_three{
    background: url('../../../assets/icon/购物车2.png') no-repeat center !important;
    background-size: 60% !important;
    background-position-y: 1rem !important;
}
.bar_four{
    background: url('../../../assets/icon/我的2.png') no-repeat center !important;
    background-size: 80% !important;
    background-position-y: 1rem !important;
}
.redDot{
    position: absolute;
    top: 0;
    right: 0;
    width: 3.5rem;
    height: 3.5rem;
    background-color: #f55050;
    border-radius: 50%;
    color: white;
    font-size: 2.5rem;
    line-height: 3.5rem;
    text-align: center;
}